class Task:
    def __init__(self, comcost, upcost, middl, ddl, period):
        self.comcost = comcost
        self.uploadcost = upcost
        self.deadline = ddl
        self.mid_deadline = middl
        self.period = period
        
    
    def getComcost(self):
        return self.comcost
    
    def getUpcost(self):
        return self.uploadcost
    
    def getDDL(self):
        return self.deadline
    
    def getM_DDL(self):
        return self.mid_deadline
    
    def getPeriod(self):
        return self.period


